﻿using Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Application.RoleMenuApp
{
    public interface IRoleMenuAppService
    {

        RoleMenu GetById(Int32 id);

        List<RoleMenu> GetAll(string key);

        List<RoleMenu> GetPageList(string SearchKeyWords, int PageSize, int PageCurrent, string OrderField, bool OrderDirection = true);
        bool AddOrUpdate(RoleMenu model);

        bool DeleteById(int id);

        bool Delete(string roleid);
    }
}
